﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ShiXuLong.Service;
namespace ShiXuLong.Web.Controllers
{
    [Authorize]
    public class ShopTypeController : Controller
    {
        FrontDesk fd = new FrontDesk();
        // GET: ShopType
        public ActionResult Index(int id)
        {
            int count;
            var res = fd.GetShopByType(id, out count);
            return View(res);
        }
        public ActionResult TypeView(int id)
        {
          
            return Json(new { msg = "执行成功", success = 1,num=id});
        }


    }
}